package com.mew.slots.core.game.hlsd.message;

import com.mew.slots.core.common.messge.response.SlotsPlayResponseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @author dylin
 */
@Data
@ToString(callSuper = true)
public class HlsdResponseMessage extends SlotsPlayResponseMessage {
    public int bonus;//是否有特殊 1 普通特殊  2 奖池特殊
    public List<Integer> changeWilds;//改变的wild
    @Override
    public void write(ByteBuf b) {
        super.write(b);
        writeInt(b,bonus);
        writeInt(b,changeWilds.size());
        for (Integer changeWild : changeWilds) {
            writeInt(b,changeWild);
        }
    }

    @Override
    public HlsdResponseMessage read(ByteBuf byteBuf) {
        return null;
    }
}
